import http from '../../utils/request'
// 网址设置
const departmentList = (params: any) => {
    return http.get('visit/department/list', params)
}
// 查询
const departmentShow = (params: any) => {
    return http.get('visit/department/show', params)
}
// 添加
const departmentAdd = (params: any) => {
    return http.post('visit/department/add', params)
}
// 删除
const departmentDel = (params: any) => {
    return http.get('visit/department/del', params)
}
// 修改
const departmentEdit = (params: any) => {
    return http.post('visit/department/edit', params)
}


export default { departmentList }